import _ from 'lodash'
import {add} from '../utils/compute-helper'

const list1 = ['1','2','3','4','5']
const newList = _.chunk(list1,2)
const tmpList = []
console.log(newList)

newList.forEach(subList => {
    const tmp = add(subList[0],subList[1] || 0)
    tmpList.push(tmp)
})
export default tmpList